﻿// //  ********************************************************************************
// //  Copyright (C) 2016 Sebastian Kenter. All rights reserved.
// // 
// //  Name    : MultiServerEngine | ServerFramework | IServerConfiguration.cs
// //  Created : 2016 - 02 - 16 20:53
// //  Modified: 2016 - 02 - 20 12:33
// //  ********************************************************************************

using System.Collections.Generic;
using TypeDefs;

namespace ServerFramework.Interfaces.Configuration
{
    /// <summary>
    ///     Interface for the ServerConfiguration
    /// </summary>
    public interface IServerConfiguration
    {
        string IpAddress { get; set; }
        int? TcpPort { get; set; }
        int? UdpPort { get; set; }
        bool IsMasterServer { get; set; }
        int ConnectRetryInterval { get; set; }
        int MaxRetries { get; set; }
        Dictionary<HandlerTypes, List<OperationCodes>> HandledOperations { get; set; }
        string MasterIpAddress { get; set; }
        int MasterPort { get; set; }
        string ServerName { get; set; }
    }
}
